package backend.Java_Demo.exception.demo01;

public class Test2 {
    public static void main(String[] args) {
        int a = 1;
        int b = 0;
        //Ctrl + Alt +T ： 快速生成try catch finally
        try {
            System.out.println(a/b);
        } catch (Exception e) {
            e.printStackTrace();    //打印错误的栈信息
        } finally {
        }
    }
}
